// pages/home/home.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    icolist:[
      {
        icon: "../../assets/images/button/checkin.png",
        fid: 1,
        text:"签到",
        path: "../checkin/checkin"
      },
      {
        icon: "../../assets/images/button/leave.png",
        fid: 2,
        text:"请假",
        path: "../leave/leave"
      },
      {
        icon: "../../assets/images/button/appointment.png",
        fid: 3,
        text:"密封舱预约",
        path: "../appointment/appointment"
      },
      {
        icon: "../../assets/images/button/questionnaire.png",
        fid: 4,
        text:"问卷",
        path: "../questionnaire/questionnaire"
      },
      {
        icon: "../../assets/images/button/library.png",
        fid: 5,
        text:"图书",
        path: "../library/library"
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  },
  gotoPageci: function () {
    wx.navigateTo({
      url: "../checkin/checkin",
    })
  },
})